package com.ima.service;

import com.ima.common.repository.support.IGenericRepository;
import com.ima.common.service.support.GenericService;
import com.ima.model.IDouChange;
import com.ima.repository.AiDouChangeRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by ${符柱成} on 2017/3/21.
 */
@Service
public class AiDouService extends GenericService<IDouChange,Integer> implements IAiDouService{

    @Resource
    private AiDouChangeRepository aiDouChangeRepository;

    public AiDouService() {
        super(IDouChange.class);
    }

    @Override
    protected IGenericRepository<IDouChange, Integer> getRepository() {
        return aiDouChangeRepository;
    }
}
